import React, { Component } from "react";
import PropTypes from "prop-types";
export default class Rcc extends Component {
  static propTypes = {
    title: PropTypes.string,
  };
  static defaultProps = {
    title: "默认值",
  };
  render() {
    return (
      <div>
        {this.props.title}---{this.props.children}
      </div>
    );
  }
}
